package model

type FormInfo struct {
	Head map[string]string
	Body map[string]string
}

type AppletInfo struct {
	TotalAmount    string      `json:"totalAmount"`
	ClearDate      interface{} `json:"clearDate"`
	Credential     Credential  `json:"credential"`
	TradeNo        string      `json:"tradeNo"`
	PayTime        interface{} `json:"payTime"`
	BuyerPayAmount interface{} `json:"buyerPayAmount"`
	OrderCode      string      `json:"orderCode"`
	DiscAmount     interface{} `json:"discAmount"`
}
type Params struct {
	TimeStamp string `json:"timeStamp"`
	Package   string `json:"package"`
	PaySign   string `json:"paySign"`
	AppID     string `json:"appId"`
	SignType  string `json:"signType"`
	NonceStr  string `json:"nonceStr"`
}
type Credential struct {
	PayMode string `json:"payMode"`
	Params  struct {
		TimeStamp string `json:"timeStamp"`
		Package   string `json:"package"`
		PaySign   string `json:"paySign"`
		AppID     string `json:"appId"`
		SignType  string `json:"signType"`
		NonceStr  string `json:"nonceStr"`
	} `json:"params"`
}
